iconhelper: Don't pass GENERIC_FALLBACK flag
authorBenjamin Otte <otte@redhat.com>
Fri, 9 Oct 2015 13:42:58 +0000 (15:42 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 28 Oct 2015 18:44:26 +0000 (19:44 +0100)
It's not used when looking up with a GIcon.

gtk/gtkiconhelper.c

index dfc95ffe3ebde2666a9b152a846770cd41b09136..3ca8ec9256356c0f8b835f151d4975bf994ebd96 100644 (file)
@@ -269,8 +269,6 @@ get_icon_lookup_flags (GtkIconHelper *self, GtkStyleContext *context)
   state = gtk_style_context_get_state (context);
   flags = GTK_ICON_LOOKUP_USE_BUILTIN;
 
-  if (self->priv->use_fallback)
-    flags |= GTK_ICON_LOOKUP_GENERIC_FALLBACK;
   if (self->priv->pixel_size != -1 || self->priv->force_scale_pixbuf)
     flags |= GTK_ICON_LOOKUP_FORCE_SIZE;